package com.wu.constants;

import java.io.File;

/**
 * 常量管理
 * Author wzr
 * Date 20210518
 */
@SuppressWarnings("all")
public class Constants {

    /**
     * 问卷
     */
    public static final String RADIO = "1";// 单选题
    public static final String MULTIPLE = "2";// 多选题
    public static final String COMPLETION = "3";// 填空题

    public static final String UNCOMPLETE = "0";// 未完成答卷
    public static final String COMPLETE = "1";// 完成答卷

    public static final String STATUS_UNRELEASE = "0";// 问卷未发布
    public static final String STATUS_RELEASE = "1";// 问卷发布中
    public static final String STATUS_END = "2";// 问卷调查已结束
    public static final String STATUS_DELETE = "3";// 问卷删除至回收站

    public static final String DELETE = "DELETE";// 粉碎标志

    /**
     * 机构
     */
    public static final String ORGAREA = "ORGAREA";// 企业区域
    public static final String BUSITYPE = "BUSITYPE";// 企业行业
    public static final String ORGTYPE = "ORGTYPE";// 企业类型

    public static final String PASS = "0";// 审核通过
    public static final String UNPASS = "2";// 审核不通过
    public static final String WAITTING = "1";// 待审核

    /**
     * 状态码
     */
    public static final String TOKEN = "TOKEN_"; // token
    public static final String AUTH_CODE = "AUTH_CODE_"; // 验证码
    public static final String EMAIL_CODE = "EMAIL_CODE"; // 验证码

    /**
     * Excel路径
     */
    public static final String PREFIX_EXCEL = "template\\";// excel前缀
    public static final String SUFFIX_EXCEL = ".xlsx";// excel后缀
    public static final String PREFIX_PICTURE = "picture\\";// picture前缀
    public static final String ROOT_PATH = "E:\\ENV\\git\\springboot-shiro-redis-vue\\Item-springboot\\qs-api\\src\\main\\resources\\static\\";// 根路径

    /**
     * 过期时间
     */
    public static final Integer TIMEOUT = 600;
    public static final Integer REDIS_EXPIRE_TIME = 600;// Redis缓存过期时间

}
